<ul id="nav">
    <?php if($this->checkRole('dashboard', 'index', true)) { ?>
    <li><a href="<?php echo $this->createUrl('dashboard/index'); ?>">Tạo Form</a></li>
    <?php } ?>
    
    
    
    <?php if($this->checkRole('people', 'index', true)) { ?>
    <li><a href="<?php echo $this->createUrl('people/index'); ?>">Danh sách người dùng</a></li>
    <?php } ?>
    
    
    
    
    
    <?php if($this->user['id'] == 1) { ?>
    <li>
        <a href="<?php echo $this->createUrl('role/index'); ?>">Phân quyền</a>
        <ul>
            <li><a href="<?php echo $this->createUrl('role/index'); ?>">Danh sách quyền</a></li>
        </ul>
    </li>
    <?php } ?>
        
</ul>